﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TaskGroupManager.aspx.cs"
    Inherits="sysadmin_TaskManager_TaskGroupManager" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>无标题页</title>
    <link href="../../css/1/css/css.css" type="text/css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="titbg_right">
        <tr>
            <td class="titbg_left">
                <asp:Label ID="lbl_InfoTitle" runat="server" Text="任务分组管理"></asp:Label>
            </td>
        </tr>
    </table>
    <br />
    <table border="0" cellpadding="0" cellspacing="0" class="btnbg" width="100%">
        <tr>
            <td>
                <asp:Button ID="btnAddNew" runat="server" Text="添加" CssClass="inputBotton2" OnClick="btnAddNew_Click" />
            </td>
        </tr>
    </table>
    <asp:GridView ID="gvConfigure" runat="server" AutoGenerateColumns="False" GridLines="None"
        BorderWidth="0px" CssClass="mainList" Width="100%" AllowSorting="True" OnRowUpdating="gvConfigure_RowUpdating"
        OnRowCancelingEdit="gvConfigure_RowCancelingEdit" OnRowEditing="gvConfigure_RowEditing"
        OnRowDeleting="gvConfigure_RowDeleting" 
        onrowcreated="gvConfigure_RowCreated">
        <Columns>
            <asp:BoundField DataField="TaskGpID" HeaderText="ID" Visible="false" />
            <asp:BoundField DataField="TaskGpName" HeaderText="分组名称" />
            <asp:BoundField DataField="TaskGpCreateTime"  ReadOnly="True"  HeaderText="创建时间" />
            <%--    <asp:TemplateField HeaderText="操作">
                    <ItemTemplate>
                     
                        <asp:LinkButton ID="ibtnEditor" runat="server" CommandArgument='<%#Eval("TConfigID") %>'
                            CommandName="myeditor">编辑</asp:LinkButton>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:CommandField />--%>
                
                
            <asp:CommandField ShowEditButton="True" />
        
       
         
            
        </Columns>
        <EmptyDataTemplate>
            <%=GetLanageValueByKey("NoContent_msg", PowerCreator.LMS.Language.LanagetItemType.Page)%>
        </EmptyDataTemplate>
    </asp:GridView>
    &nbsp;
    <table width="699" border="0" cellspacing="0" cellpadding="0" align="center">
        <tr>
            <td>
                <webdiyer:AspNetPager ID="AspNetPager1" runat="server" HorizontalAlign="Center" OnPageChanged="AspNetPager1_PageChanged"
                    ShowCustomInfoSection="Left" Width="100%" meta:resourceKey="AspNetPager1" Style="font-size: 12px"
                    InputBoxStyle="width:19px" CustomInfoHTML="当前页  <font color='red'><b>%CurrentPageIndex%</b></font> 总页数  %PageCount%  当前条数 %StartRecordIndex%-%EndRecordIndex%"
                    FirstPageText="首页" LastPageText="末页" NextPageText="下一页" PrevPageText="上一页">
                </webdiyer:AspNetPager>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
